treeview: Ensure the treeview has the implicit grab before grabbing focus
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 13 Jun 2016 21:44:31 +0000 (23:44 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 20 Jun 2016 00:54:18 +0000 (20:54 -0400)
commite33e23a6d9403f634003e6fc611ba7d02b5cf950
tree9ddab05f718fca90b549e976f0f1696024c5432f
parent51799d41e46553633a7e98a3b721eadba67bd5ba
treeview: Ensure the treeview has the implicit grab before grabbing focus

The cellrenderer signals might be taking the grab somewhere else, at which
point it's dubious we should attempt to take the keyboard focus into the
treeview.

This concretely breaks popovers triggered from cellrenderer signals on
button press, because the treeview will attempt to grab focus
inconditionally then.

https://bugzilla.gnome.org/show_bug.cgi?id=767468
gtk/gtktreeview.c